﻿using Caliburn.Micro;

namespace GetMan.Models
{
    public class RequestModel : PropertyChangedBase
    {
        private long id;
        public long Id
        {
            get => id;
            set
            {
                id = value;
                NotifyOfPropertyChange(() => Id);
            }
        }

        private long nodeId;
        public long NodeId
        {
            get => nodeId;
            set
            {
                nodeId = value;
                NotifyOfPropertyChange(() => NodeId);
            }
        }

        private string requestUrl;
        public string RequestUrl
        {
            get => requestUrl;
            set
            {
                requestUrl = value;
                NotifyOfPropertyChange(() => RequestUrl);
            }
        }

        private string requestMethod;
        public string RequestMethod
        {
            get => requestMethod;
            set
            {
                requestMethod = value;
                NotifyOfPropertyChange(() => RequestMethod);
            }
        }
    }
}